﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QH.JobBack.Model
{
    public class Company
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public Company()
        {
            this.Blacklist = new HashSet<Blacklist>();
            this.Companyinfo_investor = new HashSet<Companyinfo_Investor>();
            this.Company_label = new HashSet<Company_Label>();
            this.PositionInfo = new HashSet<PositionInfo>();
            this.ProductInfo = new HashSet<ProductInfo>();
        }
        [System.ComponentModel.DataAnnotations.Key]
        public int CompId { get; set; }
        public string ComFullName { get; set; }
        public string ComForShort { get; set; }
        public string CompanyLoGo { get; set; }
        public string ComWebsite { get; set; }
        public int CityId { get; set; }
        public int IndustryId { get; set; }
        public short ComScale { get; set; }
        public int PhaseId { get; set; }
        public string OneRecommend { get; set; }
        public string CompanyPhone { get; set; }
        public string CompanyEmail { get; set; }
        public string CompanyRemark { get; set; }
        public string PASSWORD { get; set; }
        public bool AuthStatu { get; set; }
        public virtual Cityinfo CityInfo { get; set; }
        public virtual DevelopmentPhase DevelopmentPhase { get; set; }
        public virtual Industry Industry { get; set; }


        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Blacklist> Blacklist { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Companyinfo_Investor> Companyinfo_investor { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<Company_Label> Company_label { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<PositionInfo> PositionInfo { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<ProductInfo> ProductInfo { get; set; }
    }
}
